package nl.boelen.game.level.tile;


public class BasicTile extends Tile {

    protected int tileId;
    protected int tileColor;
    private int mirrorBit = 0x00;

    public BasicTile(int id, int x, int y, int tileColor, int indexColor) {
        super(id, false, false, indexColor);
        this.tileId = x + y * 32;
        this.tileColor = tileColor;
    }
    
    public BasicTile(int id, int x, int y, int tileColor, int indexColor, int mirrorBit) {
        super(id, false, false, indexColor);
        this.tileId = x + y * 32;
        this.tileColor = tileColor;
        this.mirrorBit = mirrorBit;
    }
    
    @Override
    public void tick() {
    }
    
    @Override
    public int getTileColor(){
        return this.tileColor;
    }

    @Override
    public int getTileMirrorBit() {
        return this.mirrorBit;
    }

    @Override
    public int getTileId() {
        return this.tileId;
    }
}
